package org.example.contestb.Mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.example.contestb.entity.MapData;

@Mapper
public interface MapDataMapper {

    @Select("SELECT * FROM ${tableName} WHERE id = #{id}")
    MapData getById(@Param("tableName") String tableName, @Param("id") Integer id);
}

